<template>
    <Form ref="form" inline :model="data" label-position="left">
            <FormItem class="ivu-mb-0">
                <RadioGroup v-model="dayDate" type="button">
            <Radio label="day">今日</Radio>
            <Radio label="yesterdat">昨日</Radio>
            </RadioGroup>
            </FormItem>
            <FormItem>
                <DatePicker type="daterange" v-model="data.date" placeholder="请选择来院日期" />
            </FormItem>
             <FormItem>
                <Input v-model="data.name" v-width="260" placeholder="请输入患者姓名/手机号/诊疗号" />
            </FormItem>
            <FormItem label="归属人：" v-width="180">
               <Select v-model="data.personnel" v-width="90" placeholder="所属医助" element-id="personnel" :clearable="true">
                        <Option :value="0">高玲</Option>
                        <Option :value="1">王艳</Option>
                        <Option :value="2">刘志强</Option>
                    </Select>
            </FormItem>
            <FormItem label="就诊类型：" v-width="180">
                    <Select v-model="data.diagnosis" v-width="90" placeholder="就诊类型" element-id="diagnosis" :clearable="true">
                        <Option :value="0">初诊</Option>
                        <Option :value="1">复诊</Option>
                        <Option :value="2">未及时复诊</Option>
                        <Option :value="3">抗复发</Option>
                        <Option :value="4">流失</Option>
                        <Option :value="5">断诊</Option>
                    </Select>
            </FormItem>
    </Form>
</template>
<script>
    export default {
        data () {
            return {
                dayDate: 'day',
                grid: {
                    xl: 4,
                    lg: 8,
                    md: 12,
                    sm: 24,
                    xs: 24
                },
                data: {
                    name: '',
                    date: '',
                    consultant: '',
                    personnel: '',
                    diagnosis: '',
                    treatment: '',
                    risk: ''
                }
            }
        },
        methods: {
        }
    }
</script>
